package me.macd.mindoc.dto;

/**
 * @program: mindoc
 * @description: ${description}
 * @author: 2018-09-21
 * @create: 2018-09-21 20:42
 */
public class Result {
    private Integer errcode;
    private String message;
    private Object data;

    public Result(Integer errcode, String message, Object data) {
        this.errcode = errcode;
        this.message = message;
        this.data = data;
    }

    public Result(Integer errcode, String message) {
        this(errcode, message, null);
    }

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
